import request from '@/utils/request'


//通过卡号查询会员信息
export function selectUserInfoByNumid(membershipCardNumber) {
  return request({
    url: '/member/memberUserManagement/selectUserInfoByNumid?membershipCardNumber=' + membershipCardNumber,
    method: 'get'
  })
}

//查询会员当天入场人数
export function selectEntranceNumbers( currentDate) {
  return request({
    url: '/member/memberUserManagement/selectEntranceNumber',
    method: 'get',
    params: {
      currentDate
    }
  })
}

//会员是否入场
export function userIfEntrance(membershipCardNumber) {
  return request({
    url: '/member/memberUserManagement/userIfEntrance?membershipCardNumber='+membershipCardNumber,
    method: 'get'
  })
}
//获取租户标识
export function getVenueUniqueIdentifier() {
  return request({
    url: '/subscribe/courseSubscribe/getVenueUniqueIdentifier',
    method: 'get'
  })
}

//查询是否有私教课
export function selectIfPersonalTrainer(membershipCardNumber) {
  return request({
    url: '/member/memberUserManagement/selectIfPersonalTrainer?membershipCardNumber='+membershipCardNumber,
    method: 'get'
  })
}
